package com.lungle.warmdiary.app.model.response;

import com.lungle.warmdiary.app.AppException;
import com.lungle.warmdiary.app.model.Entity;
import com.lungle.warmdiary.app.model.ListEntity;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by God on 2016/8/9.
 */
public class MediaAccountList extends Entity implements ListEntity {


    private List<MediaAccount> accountList = new ArrayList<>();

    public static MediaAccountList parse(InputStream inputStream) throws IOException,
            AppException {
        MediaAccountList list = new MediaAccountList();


        return list;

    }

    public List<MediaAccount> getAccountList() {
        return accountList;
    }

    public void setAccountList(List<MediaAccount> accountList) {
        this.accountList = accountList;
    }

    @Override
    public List<?> getList() {
        return accountList;
    }
}
